package com.jd.charactercalculator.dao;

import java.util.List;
import com.jd.charactercalculator.dto.param.UserParamDto;
import com.jd.charactercalculator.entity.UserEntity;

/**
 * 
 *
 * @author:孙林
 * @since:2012上午11:01:45
 * @version:1.0.0
 */
public interface UserDao {

	/**
	 * 查询用户dao
	 * @param userParamDto
	 * @return
	 */
	public List<UserEntity> getUsers(UserEntity userEntity);
	
	/**
	 * 插入用户
	 * @param userParamDto
	 * @return
	 */
	public boolean addUser(UserEntity userEntity);
	
	/**
	 * 更新用户信息
	 * @param userParamDtoList
	 * @return
	 */
	public boolean updateUser(UserEntity userEntity);
	
}
